/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.hd2tecnologia.mensagens;

import javax.swing.ImageIcon;

/**
 *
 * @author Júnior
 */
public class LogErros {
    
    private String msg;
    private static LogErros instance;
    private static ImageIcon icone;
    
    public static LogErros getInstance(){  
        if(instance == null){  
            instance = new LogErros();  
        }  
        return instance;  
   }
    
    public static void killInstance(){  
        instance = null;  
    }     
    
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static ImageIcon getIcone() {
        return icone;
    }

    public static void setIcone(ImageIcon icone) {
        LogErros.icone = icone;
    }
    
    
    
}
